package config;

import first.MyTestBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author: ZhouBert
 * @date: 2020/7/23
 * @description:
 */
@Configuration
///扫描类
@ComponentScan("config")
public class FirstConfig {

	@Bean
	public MyTestBean myTestBean() {
		return new MyTestBean();
	}
}
